About graphic displays > FactoryTalk View graphic XML file > XML attributes > macro attribute
The macro attribute specifies the macro to be run when the button is pressed.
The macroButton graphic object element contains this attribute.
FactoryTalk View equivalent: Macro
macro attribute syntax
Advanced objects: macroButton object